package com.stylefeng.guns.modular.product.dao;

import com.stylefeng.guns.modular.product.model.Customer;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author stylefeng123
 * @since 2019-03-16
 */
public interface CustomerMapper extends BaseMapper<Customer> {

    Customer getByUserName(@Param("userName") String userName);

    List<Customer> getCustomerList(@Param("userName") String userName);
}
